package taskit.gui;

import taskit.test.Log;

//@author A0098710B
public class TaskItMain {
	
	/**
	 * main method in TaskItMain
	 * 
	 * @param args	default string array
	 * @throws InterruptedException
	 */
	public static void main(String[] args) throws InterruptedException {
		Log.add("TaskItMain.java: Starting application...");
		Thread t = new Thread() {
			@Override
			public void run() {
				Log.add("Starting JavaFX...");
				GUI.main(new String[0]);
				Log.add("JavaFX ended");
			}
		};
		t.start();
		t.join();
		Log.add("TaskItMain.java: Ending application...");
		Log.dump();
		System.exit(1);
	}
}